//
//  NSString+GJTypeDescription.m
//  YDGJ
//
//  Created by 1dcq on 16/9/6.
//  Copyright © 2016年 Galaxy360. All rights reserved.
//

#import "NSString+GJTypeDescription.h"

@implementation NSString (GJTypeDescription)

+(NSString *)payTypeDescWithType:(int)type
{
    NSString *payTypeDesc = @"未知";
    switch (type) {
        case 0:
        {
            payTypeDesc = @"支付宝支付";
            break;
        }
        case 1:
        {
            payTypeDesc = @"传奇宝支付";
            break;
        }
        case 2:
        {
            payTypeDesc = @"消费卡";
            break;
        }
        case 3:
        {
            payTypeDesc = @"红包支付";
            break;
        }
        case 4:
        {
            payTypeDesc = @"优惠券支付";
            break;
        }
        case 5:
        {
            payTypeDesc = @"储值卡支付";
            break;
        }
        case 6:
        {
            payTypeDesc = @"现金支付";
            break;
        }
        case 7:
        {
            payTypeDesc = @"POS支付";
            break;
        }
        case 8:
        {
            payTypeDesc = @"微信支付";
            break;
        }
        case 9:
        {
            payTypeDesc = @"建行银行卡";
            break;
        }
        case 10:
        {
            payTypeDesc = @"建行信用卡";
            break;
        }
        case 11:
        {
            payTypeDesc = @"传奇宝(消费金)";
            break;
        }
        case 12:
        {
            payTypeDesc = @"传奇宝(平台返利)";
            break;
        }
        case 13:
        {
            payTypeDesc = @"代金券支付";
            break;
        }
            
        case 15:
        {
            payTypeDesc = @"次卡支付";
            break;
        }
        case 16:
        {
            payTypeDesc = @"农行银行卡";
            break;
        }
        case 17:
        {
            payTypeDesc = @"农行信用卡";
            break;
        }
            
        default:
            break;
    }
    
    
    return payTypeDesc;
}

+(NSString *)withdrawTypeDescWithType:(int)type
{
    NSString *typeDesc = @"未知";
    switch (type)
    {
        case 0:
        {
            typeDesc = @"未审核";
            break;
        }
        case 1:
        {
            typeDesc = @"审核不通过";
            break;
        }
        case 2:
        {
            typeDesc = @"审核通过，提现中";
            break;
        }
        case 3:
        {
            typeDesc = @"支付失败";
            break;
        }
        case 4:
        {
            typeDesc = @"已成功提现";
            break;
        }
        default:
            break;
    }
    return typeDesc;
}


@end
